package com.wanyang.mapper;

import com.wanyang.dos.PostDO;
import com.wanyang.dos.PostDOExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PostDOMapper {
    long countByExample(PostDOExample example);

    int deleteByExample(PostDOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PostDO record);

    int insertSelective(PostDO record);

    PostDO selectOneByExample(PostDOExample example);

    PostDO selectOneByExampleWithBLOBs(PostDOExample example);

    List<PostDO> selectByExampleWithBLOBs(PostDOExample example);

    List<PostDO> selectByExample(PostDOExample example);

    PostDO selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PostDO record, @Param("example") PostDOExample example);

    int updateByExampleWithBLOBs(@Param("record") PostDO record, @Param("example") PostDOExample example);

    int updateByExample(@Param("record") PostDO record, @Param("example") PostDOExample example);

    int updateByPrimaryKeySelective(PostDO record);

    int updateByPrimaryKeyWithBLOBs(PostDO record);

    int updateByPrimaryKey(PostDO record);
}